#!/bin/sh

SymbolName=pci_drivers
SymbolFile=/boot/System.map-`uname -r`

cat $SymbolFile | awk -v symbol=$SymbolName '
{
	if(($2 == "d" || $2 == "D") && ("x" $4 == "x") && ($3 == symbol)){
		print $1;
		exit;
	}
}
'

